package cn.bdqn.fifthmedic.systrm.service;

import cn.bdqn.fifthmedic.model.EData;
import cn.bdqn.fifthmedic.model.PageBean;
import cn.bdqn.fifthmedic.model.R;
import cn.bdqn.fifthmedic.systrm.model.User;

/**
 * @author Yuan
 * @create 2020-02-14 12:09
 */
public interface UserService {
    EData list(PageBean pageBean, String name);

    R save(User user);

    R del(Integer id);

    R saveRoleSet(String roleIds, String roleNames, Integer userId);
}
